package com.ytjj.qmyx.supplychain.mapper;

import com.ytjj.qmyx.supplychain.common.model.response.ProductImgResponse;
import com.ytjj.qmyx.supplychain.mapper.entity.YxBankerProductImg;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface BankerProductImgMapper extends Mapper<YxBankerProductImg> {

    /**
     * 删除图片
     */
    void deleteByProductId(Integer productId);

    /**
     * 保存图片
     */
    void saveImg(@Param("img") List<ProductImgResponse> img);
}
